package com.rr.controller;

import com.netflix.graphql.dgs.DgsQuery;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author RR
 * @date 2023/7/2 21:37
 */
@RestController
public class HelloController {
    @DgsQuery
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }
}
